#ifndef PERSONREPOSITORY_H
#define PERSONREPOSITORY_H

#include <person.h>

#include <QVector>

class PersonRepository
{
public:
	explicit PersonRepository();

	QVector<Person> getList() const;
	void updateList( const QVector<Person> personList );
	void updateDataBase();

private:
	void populateRepository();

	QVector<Person> m_personList;
};

#endif // PERSONREPOSITORY_H
